/*
 * socketclient.h
 *
 *  Created on: 2012-7-26
 *      Author: epmm
 */

#ifndef SOCKETCLIENT_H_
#define SOCKETCLIENT_H_

class CSocketClient:public CSocketBase
{
public:
	CSocketClient();
	virtual ~CSocketClient();
public:
	int InitClient(int domain = AF_INET, int type = SOCK_STREAM,int protocol = 0);
	int Connnect(sockaddr* addr);
};

#endif /* SOCKETCLIENT_H_ */
